Skip to content

fix(fleet): repin rewrites stale dryrun refs, not just rc refs#392

Merged
joshua-temple merged 1 commit into
mainfrom
fix/repin-rewrite-dryrun-refs
Jun 27, 2026
Merged

fix(fleet): repin rewrites stale dryrun refs, not just rc refs#392
joshua-temple merged 1 commit into
mainfrom
fix/repin-rewrite-dryrun-refs

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Problem

The first live nightly (cron -> v0.6.0-rc.0 -> fleet) failed: primary and rollback-dispatch could not resolve stablekernel/[email protected] at Set up job. Cause: those repos had a hand-written setup-cli pin left pointing at a -dryrun tag from an earlier dry-run validation repin. The repin's in-repo ref rewrite only matched vX.Y.Z-rc.N, so a -dryrun.N pin was never updated to the current rc; after the dryrun tags were pruned, the pin became unresolvable.

Fix

Broaden the repin grep and sed to match -(rc|dryrun). so any stale prerelease pin self-heals to the rc on the next repin (verified the regex rewrites both -dryrun and -rc refs and leaves final releases untouched). One file, actionlint clean.

Validation

This will be validated on the LIVE rc path (a real force nightly dispatch cutting a real rc, fleet green, promote) - not a dry-run - before re-closing #373. Part of #373.

The repin's in-repo ref rewrite only matched vX.Y.Z-rc.N, so a hand-written setup-cli pin left pointing at a vX.Y.Z-dryrun.N tag (from a dry-run validation repin) was never updated to the current rc. After the dryrun tags were pruned, primary and rollback-dispatch failed at Set up job (Unable to resolve action stablekernel/[email protected]) and the first live nightly fleet went red. Broaden the grep and sed to match -(rc|dryrun). so any stale prerelease pin self-heals to the rc on the next repin. Part of #373.

Signed-off-by: Joshua Temple <[email protected]>
@joshua-temple joshua-temple merged commit 8589261 into main Jun 27, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant